<?

$fs_eve_man_attendee_entry = new Fieldset (array (
	db_conn=>$_GLOBAL_DBH,
	relation=>"eve_man_attendee_entry",
	title=>"Event Attendee Entries",
	fieldset=>array (
		array (name=>"id",label=>"ID",type=>"numeric",
				value=>$_REQUEST["attendee_entry_id"],
				input=>"hidden",primary_key=>true),
		array (name=>"attendee_id",label=>"Attendee",type=>"any",
				relation=>array(foreign=>"eve_man_attendees",key=>"id",
				field=>"name"),
				input=>"select",
				options=>"_app_select_query",
				options_params=>"SELECT id,name FROM eve_man_attendees",
				columns=>array (key=>"id",value=>"name"),
		),
		array (name=>"registration_id",label=>"Registration",type=>"any",
				relation=>array(foreign=>"eve_man_registrations",key=>"id",
				field=>"name"),
				input=>"select",
				options=>"_app_select_query",
				options_params=>"SELECT id,name FROM eve_man_registrations",
				columns=>array (key=>"id",value=>"name"),
		),
		array (name=>"registration_fee",label=>"First",type=>"decimal",
				input=>"field"),
		array (name=>"event_id",label=>"Managed Event",type=>"any",
				relation=>array(foreign=>"eve_man_events",key=>"id",
				field=>"name"),
				input=>"select",
				options=>"_app_select_query",
				options_params=>"SELECT id,name FROM eve_man_events",
				columns=>array (key=>"id",value=>"name"),
		),
		array (name=>"start_date",label=>"Start Date",type=>"any",
				input=>"date",value=>_app_date("date_start")),
		
		array (name=>"sales_tax_rate",label=>"Sales Tax Rate",type=>"alphanumeric",
				input=>"field"),
		array (name=>"total_payments",label=>"Total Payments",type=>"any",
				input=>"field"),
	),
));

$fs_eve_man_attendee_entry->parse ();

?>
